package com.li.designpattern.singleton;

public class LazyPatternDoubleLock {
	private static LazyPatternDoubleLock instance=null;
	
	private LazyPatternDoubleLock(){
		
	}
	
	public static LazyPatternDoubleLock getInstance(){
		if(instance==null){
		synchronized (LazyPatternDoubleLock.class) {
			if(instance==null){
				instance=new LazyPatternDoubleLock();
			}
		}
	}
		return instance;
	}
}
